{% if NGINX_ROBOT_RULES|length > 0 %}
  location /robots.txt {
    root {{ nginx_app_dir }};
    try_files $uri /robots.txt =404;
  }
{% endif %}
